﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Look_Through_Windows.Network
{
    class SendCodes
    {
        public const byte KeepAlive = 0x00;

        /// <summary>
        /// Get a list of sharing windows
        /// </summary>
        public const byte SharingList = 0x10;

        /// <summary>
        /// Request for SharingList
        /// </summary>
        public const byte SharingListReq = 0x11;

        /// <summary>
        /// Request the sharing of a window
        /// </summary>
        public const byte ShareWindowReq = 0x20;
        /// <summary>
        /// Cancels the sharing of a window
        /// </summary>
        public const byte ShareWindowStop = 0x21;
        /// <summary>
        /// Cancels the sharing of a window (from sharer's view)
        /// </summary>
        public const byte ShareWindowStopSharer = 0x22;

        /// <summary>
        /// Sends the window content
        /// </summary>
        public const byte WindowContent = 0xC0;
        /// <summary>
        /// Window content ACK
        /// </summary>
        public const byte WindowContentAck = 0xC1;

        /// <summary>
        /// User name send
        /// </summary>
        public const byte UserName = 0xF0;
    }
}
